#ifndef ENEMY_H
#define ENEMY_H

#include <string.h>
#include "object.h"

class Projectile;

class Enemy : public Object
{
    public:
        Enemy(std::string imgName);
        virtual void spawn(float y);
        virtual void destroy();
        void show_object();
        void move_object(Projectile* projectile);
        void clear_surface();

        Enemy();
        void setBounceAmount(float bounce)  {bounceAmount = bounce;}
        void setImage(std::string imgName);
    protected:
    private:
        float xPos;
        float yPos;
        float bounceAmount;

        SDL_Surface* image;


};

#endif // ENEMY_H
